<template>
    <div class="category">
        <NavBar class="category-nav">
            <h3 slot="center">商品分类</h3>
        </NavBar>
        <!-- 这边是左侧导航 -->
        <div class="category-content">

        </div>
    </div>
</template>
<script>
import NavBar from 'components/common/navbar/NavBar'
export default {
    name:'category',
    data(){
        return {
            scroll:null
        }
    },
    components:{
        NavBar
    },
    created() {
        // new BScroll('.wrapper')
    },
    methods: {

    }
}
</script>
<style scoped>
.wrapper{
    height: 250px;
    border:1px solid #ccc;
    overflow: hidden;
}
    .category-nav {
        background-color: var(--color-tint);
        color: white;
        font-weight: normal;
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        z-index: 99;
    }
</style>